package study;

public class useSwitch {
    public static void main(String[] args){
        String food = "peKingDuck";
        switch (food){
            case "peKingDuck":
                System.out.println("吃北京烤鸭");
                break;
            case "螺蛳粉":
                System.out.println("吃螺蛳粉");
                break;
            default:
                System.out.println("吃方便面");
                break;
        }
    }
}
